<?php

class SystemLog extends ActiveRecordBase
{
	
	public static function model($className=__CLASS__)
    {
        return parent::model($className);
    }

	public function rules()
	{
		return array(
			array('id, level, category', 'required'),
			array('logtime, message', 'safe'), 
		);
	}

    public function tableName()
    {
        return 'YiiLog';
    } 
}